/**
 * 重修酬金API
 */
import fetch from 'common/src/utils/fetch';

const baseUrl = "/api/arrangementservice";

//刷新数据
export function refreshData(data) {
  return fetch({
    url: `${baseUrl}/repairFee/refreshData?calendarId=${data}`,
    method: 'get',
  })
}

export function exportRepairFee(data) {
  return fetch({
    url: `${baseUrl}/repairFee/exportRepairFee`,
    method: 'post',
    showMask: false,
    data
  });
}

//查询学院维度重修酬金
export function repairFeeListByCollege(data) {
  return fetch({
    url: `${baseUrl}/repairFee/repairFeeListByCollege`,
    method: 'post',
    data
  })
}

//查询学院维度重修酬金
export function repairFeeListByClass(data) {
  return fetch({
    url: `${baseUrl}/repairFee/repairFeeListByClass`,
    method: 'post',
    data
  })
}
